#define NOB_EXPERIMENTAL_DELETE_OLD
#define NOB_IMPLEMENTATION
#define NOB_STRIP_PREFIX
#include "nob.h"

Cmd cmd = {0};
int main(int argc, char **argv)
{
    NOB_GO_REBUILD_URSELF(argc, argv);
    cmd_append(&cmd, "cc");
    cmd_append(&cmd, "-o", "lust");
    cmd_append(&cmd, "lust2d.c");
    cmd_append(&cmd, "-I", "include");
    cmd_append(&cmd, "-I", "mujs-1.3.7");
    cmd_append(&cmd, "-L", "lib");
    cmd_append(&cmd, "-l:libraylib.a");
    if (!cmd_run(&cmd))
        return -1;
    return 0;
}